//
//  UIImage+NoCash.m
//  FirstMatchThree
//
//  Created by Petar on 5/24/15.
//  Copyright (c) 2015 Nestorov Engineering. All rights reserved.
//

#import "UIImage+NoCash.h"

@implementation UIImage (NoCash)

+ (UIImage *)imageNamedNoCash:(NSString *)imageName
{
    
    NSString *noChashImageName = [NSString stringWithFormat:@"%@@2x",imageName];
    NSString *path = [[NSBundle mainBundle] pathForResource:noChashImageName ofType:@"png"];
    UIImage *noCashImage = [[UIImage alloc] initWithContentsOfFile:path];
    
    return noCashImage;
}

@end
